<template>
  <h1>el_轮播图组件</h1>
  <el-carousel height="200px" style="width: 380px;">
    <el-carousel-item>
      <img src="imgs/carousel1.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel2.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel3.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel4.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
  </el-carousel>
  <el-carousel height="200px" style="width: 380px;" trigger="click">
    <el-carousel-item>
      <img src="imgs/carousel1.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel2.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel3.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel4.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
  </el-carousel>
  <el-carousel height="200px" style="width: 380px;" type="card">
    <el-carousel-item>
      <img src="imgs/carousel1.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel2.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel3.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
    <el-carousel-item>
      <img src="imgs/carousel4.jpg" alt="" style="width: 100%; height: 100%;">
    </el-carousel-item>
  </el-carousel>
</template>

<script setup>

</script>

<style scoped>

</style>